<template>
	<router-view :key="routeKey" v-slot="{ Component }">
		<keep-alive include="list">
			<component :is="Component" />
		</keep-alive>
	</router-view>
</template>

<script setup>
	import { router } from '@/router'
	import { ref } from 'vue'
	const routeKey = ref(router.currentRoute.value.fullPath)
</script>
